/**
 * @(#) DonationSubtractionMoneyVO.as
 *
 * @date		2009. 04. 20.
 * @version		1.0
 * @author		Jo, ChangHun
 * @description	특별공제 보험료 Value Object
 * 				 
 */
package com.skt.common_hr.yearadjustment.model.vo
{
	import com.wcl.utils.NumberUtil;
	
	
	[Bindable]
	public class MedicalSubtractionVO
	{
		public var SEQNO:String;
		public var ENAME:String = "";	// 성명
		public var REGNO:String = "";	// 주민번호
		public var YEAGBN:String = "07";	//비용유형 (의료= '07')
		public var YEASUB:String = "";	//의료
		public var YEASTX:String = "의료비";	// 공백
		public var COMCD:String = "";	//사업자등록번호
		public var COMNM:String = "";	//업체명
		public var NATCT:Number = 0;	//국세청 건수
		public var NATAM:Number = 0;	//국세청 금액
		public var OTHCT:Number;	//그외 건수
		public var OTHAM:Number;	//그외 금액
		public var RENUM:String;	//일련번호
		public var PDCNN:String = "";	// 증빙코드 
		public var PDCTX:String = "";	// 증빙코드 텍스트
		public var BIGO:String;		//비고
		
		public var CHECK:Boolean;
		
		public function clone():MedicalSubtractionVO
		{
			var tmp:MedicalSubtractionVO = new MedicalSubtractionVO();
			tmp.ENAME = this.ENAME;
			tmp.REGNO = this.REGNO;
			tmp.YEAGBN = this.YEAGBN;
			tmp.YEASUB = this.YEASUB;
			tmp.YEASTX = this.YEASTX;
			tmp.COMCD = this.COMCD;
			tmp.COMNM = this.COMNM;
			tmp.NATCT = this.NATCT;
			tmp.NATAM = this.NATAM;
			tmp.OTHCT = this.OTHCT;
			tmp.OTHAM = this.OTHAM;
			tmp.RENUM = this.RENUM;
			tmp.PDCNN = this.PDCNN;
			tmp.PDCTX = this.PDCTX;
			tmp.BIGO = this.BIGO;
			
			return tmp;
		}
		
		public function get NATAM_F():String{
			return NumberUtil.NumberFormat(NATAM);
		}	
		public function set NATAM_F(val:String):void{
		}
		
		public function get NATCT_F():String{
			return NumberUtil.NumberFormat(NATCT);
		}	
		public function set NATCT_F(val:String):void{
		}
		
		public function get OTHAM_F():String{
			return NumberUtil.NumberFormat(OTHAM);
		}
		public function set OTHAM_F(val:String):void{
		}
		public function get OTHCT_F():String{
			return NumberUtil.NumberFormat(OTHCT);
		}
		public function set OTHCT_F(val:String):void{
		}
	}
}